////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
//  Card
//
//  Created by psvn on 4/18/12.
//  Copyright (c) 2012 Playsoft. All rights reserved.
//
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

#import <Foundation/Foundation.h>

typedef enum
{
    
    kCardRank2 = 0,
    kCardRank3 = 1,
    kCardRank4 = 2,
    kCardRank5 = 3,
    kCardRank6 = 4,
    kCardRank7 = 5,
    kCardRank8 = 6,
    kCardRank9 = 7,
    kCardRank10 = 8,
    kCardRankJack = 9,
    kCardRankQueen = 10,
    kCardRankKing = 11,
    kCardRankAce = 12
} CardRank;

typedef enum
{
    kCardSuitSpades = 0,
    kCardSuitClubs = 1,
    kCardSuitDiamonds = 2,
    kCardSuitHearts = 3
} CardSuit;

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

@interface Card : NSObject

- (id)initWithRank:(CardRank)aCardRank suit:(CardSuit)aCardSuit imageName:(NSString *)anImageName;

@property (nonatomic, assign, readonly) CardRank rank;
@property (nonatomic, assign, readonly) CardSuit suit;
@property (nonatomic, assign, readonly) UIImage *image;

@end

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
